#ifndef __MPU6050_H
#define __MPU6050_H

void mpu6050_w_reg(uint8_t regaddress,uint8_t data);
uint8_t mpu6050_r_reg(uint8_t regaddress);
void mpu6050_init(void);
uint8_t mpu6050_getid(void);
void mpu6050_getdata(int16_t *AccX, int16_t *AccY, int16_t *AccZ,int16_t *GyroX, int16_t *GyroY, int16_t *GyroZ);

#endif
